package com.yexin.qingzhou.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yexin.qingzhou.dto.LoginResponseDTO;
import com.yexin.qingzhou.dto.UserLoginDTO;
import com.yexin.qingzhou.dto.UserRegisterDTO;
import com.yexin.qingzhou.entity.User;

public interface UserService {
    LoginResponseDTO login(UserLoginDTO loginDTO);
    User register(UserRegisterDTO registerDTO);
    User getUserById(Long id);
    Page<User> getUserList(int pageNum, int pageSize);
    User updateUser(User user);
    void deleteUser(Long id);
} 